﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ApproveArticle
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>审核提交的条目</h2>
<% KnowledgeEntity.Article article = ViewData["article"] as KnowledgeEntity.Article; %>
<% Html.BeginForm(string.Empty, "Article", FormMethod.Post, new { @class = "article-main"}); %>
<dl>
   <dt>题目：</dt>
   <dd>
      <%=Html.Hidden("ID", article.ArticleID) %>
      <%=Html.Hidden("versionID", article.VersionID) %>
      <%=Html.Encode(article.Title) %>
   </dd>
   <dt>内容：</dt>
   <dd>
      <%=Html.Encode(article.Content) %>
   </dd>
</dl>
<input type="submit" id="Approve" value="审核通过" name="Approve" />
<input type="submit" id="Reject" value="审核驳回"　name="Reject" />
<% Html.EndForm(); %>
</asp:Content>
